package com.yc.cloud.portal.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

@Data
public class ARRTCCallbackParam {

    @Schema(description = "通道号", required = true)
    @NotEmpty(message = "通道号不能为空")
    private String channelCode;

    @Schema(description = "事件信息,init,join,leave", required = true)
    @NotEmpty(message = "事件信息")
    private String eventType;

    @Schema(description = "流地址列表")
    private List<String> streamUrls;

    @Schema(description = "设备号", required = true)
    @NotEmpty(message = "设备号不能为空")
    private String deviceNum;
}
